package com.one.system.domain.exam;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.one.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("tb_exam_question")
public class ExamQuestion extends BaseEntity {
//    exam_question_id bigint unsigned not null comment '竞赛题目关系编号',
//    question_id bigint unsigned not null comment '题目编号',
//    exam_id bigint unsigned not null comment '竞赛编号',
//    question_order int not null comment '题目顺序',
//    create_by bigint(8) NOT NULL COMMENT '创建⽤⼾',
//    create_time datetime NOT NULL COMMENT '创建时间',
//    update_by bigint(8) DEFAULT NULL COMMENT '更新⽤⼾',
//    update_time datetime DEFAULT NULL COMMENT '更新时间',
    @TableId(type = IdType.ASSIGN_ID)
    private Long examQuestionId;
    private Long questionId;
    private Long examId;
    private Integer questionOrder;

}
